package board;

/**
 * @author tymoshya
 * @since 8/4/11
 */
public class Coordinate implements ICoordinate {

    private int vertical;
    private int horizontal;

    public Coordinate(int vertical, int horizontal) {
        this.vertical = vertical;
        this.horizontal = horizontal;
    }

    public int getVertical() {
        return vertical;
    }

    public int getHorizontal() {
        return horizontal;
    }

    @Override
    public String toString() {
        return "(" + vertical + ";" + horizontal + ")";
    }

    public static interface Status {
        int FREE = 0;
        int DECK = 1;
        int NEXT_TO_SHIP = 2;
        int SHOT_DECK = 3;
        int DESTROYED_SHIP = 4;
        int MISSED_SHOT = 5;
    }
}

